package com.catfairy.gateway.properties;

import jakarta.annotation.PostConstruct;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @Author 猫大仙
 */
@Data
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "auth.white")
public class AuthWhiteName {
    private List<String> url;
    @PostConstruct
    public void init() {
        System.out.println("AuthWhiteName url: " + url);
    }
}
